<?php echo getLink("comments/all?format=rss","RSS &raquo;") ?>
<table width="100%" border="1">
  <tr><th>Page</th><th>Name</th><th>IP</th><th>Time</th><th>comment</th></tr>
<?php
for($i=0; $i<50; $i++) {
  $comment = $comments[$i];
  if(isset($comment)) {
    $name = getNameFromId($comment['page_id']); ?>
    <tr>
      <td><?php echo getLink("pages/show/$name") ?></td>
      <td><?php echo $comment['name'] ?></td>
      <td><?php echo ipLink($comment['ip']) ?></td>
      <td><?php echo superTimeDiff($comment['time']) ?></td>
      <td><?php echo do_filters('comment_body',$comment['body']) ?></td>
    </tr>
<?php 
  }
}
?>
</table>